package com.swiftops.common.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 用户信息
 */
@Data
public class User implements java.io.Serializable {

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("姓名")
    private String username;

    @ApiModelProperty("部门ID")
    private String deptId;

    @ApiModelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("角色列表")
    private List<String> roleList;

    @ApiModelProperty(value = "邮箱")
    private String email;
}
